<!--
  Generated template for the BookclassroomPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary">
    <ion-title>教室预定</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item>
      <ion-label>开始时间</ion-label>
      <ion-datetime doneText="确定" cancelText="取消" displayFormat="YYYY-MM-DD HH:mm" [(ngModel)]="startdate">
      </ion-datetime>
    </ion-item>


    <ion-item>
      <ion-label>结束时间</ion-label>
      <ion-datetime doneText="确定" cancelText="取消" displayFormat="YYYY-MM-DD HH:mm" [(ngModel)]="enddate">
      </ion-datetime>
    </ion-item>

    <ion-item>
      <ion-label>教室编号</ion-label>
      <ion-input type="text"  disabled="true" [(ngModel)]="classroomno"></ion-input>
    </ion-item>
  </ion-list>
</ion-content>

<ion-footer>
  <button ion-button block (click)="book()">确定</button>
</ion-footer>
